package com.atguigu.hivemq.service;

import com.atguigu.springcloud.config.Result;

/**
 * @Author zhenyu
 *
 * @desc @Date 2022/10/11 14:38 @Version 1.0
 */
public interface ComsumerService {

  /**
   * 订阅某个主题
   * @param topic 主题名称
   * @return
   */
  public Result<Object> subscribe(String topic);

}
